<? if ($sso_cuentas['data']): ?>

	<ul>

		<? foreach ($sso_cuentas['data'] as $key => $value): ?>

			<li data-habilitado="<?=$value['habilitado']?>">
			
					<div><a target="_blank" href="http://panel.elserver.com/?_accion=join&_logindata[cuenta]=<?=$value['grupo']?>"><?=$value['grupo']?></a></div>

					<?=$value['plan']?> &middot; <a href="/ss/modal/facturas/?id=<?=$value['grupo']?>" data-modal="2" rel="/ss/modal/facturas/?id=<?=$value['grupo']?>">Ver facturas</a>
				
					<? foreach ($value['permisos'] as $permiso_key => $permiso_value): ?>
				
						<div title="<?=ucfirst($permiso_value)?>" class="per <?=$permiso_value?>"></div>
				
					<? endforeach; ?>
					
					<div class="space"></div>
					
			</li>

		<? endforeach; ?>

	</ul>

<? else: ?>

	<ul><li>No disponible</li></ul>

<? endif; ?>
